package com.blb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lifeng
 * @since 2019-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_production_line")
public class ProductionLine extends Model<ProductionLine> {

    private static final long serialVersionUID=1L;

    private int id;//序号

    private String productionName;//名称

    private String productionCapacity;//生产能力

    private String principal;//负责人

    private Integer num;//产线人数

    private String state;//状态

    private String remark;//备注

    private String companyId;//公司id


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
